<?php //Controller strony głównej

include_once "BaseModel.php";
include_once "RepostDAO.php";

class RepostModel extends BaseModel {
	
	public function getData($params) {
		$data = null;
		if($params->loggedUserName == $params->pageOwner) {
			$data->success = RepostDAO::getInstance()->repost($params->loggedUserID, $params->begin);
		}
		return $data;
	}
}

?>